package cn.dmrliu.edu.publish.service.impl;

import cn.dmrliu.edu.publish.bean.InteractionReview;
import cn.dmrliu.edu.publish.mapper.InteractionReviewMapper;
import cn.dmrliu.edu.publish.service.InteractionReviewService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class InteractionReviewServiceImple implements InteractionReviewService {

    @Autowired
    InteractionReviewMapper interactionReviewMapper;

    @Override
    public List<InteractionReview> getReview(Integer date) {
        return interactionReviewMapper.selectReview(date);
    }
}
